From: Ulrich Stark Date: Sun, 10 Aug 2025 20:21:53 +0000 (+0300) Subject: ccrypt: fix compilation with gcc15 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ac8b481f1daf89f13a8cb5b3a11c58c3c8f7b39d;p=feed%2Fpackages.git ccrypt: fix compilation with gcc15 gcc15 is using iso9899:2024 by default. ccrypt fails to compile with it. --> use previous standard "-std=c17" instead. Ref.: https://github.com/openwrt/packages/issues/27112 Signed-off-by: Ulrich Stark --- diff --git a/utils/ccrypt/Makefile b/utils/ccrypt/Makefile index 5f53472fe1..fd7bb9dd17 100644 --- a/utils/ccrypt/Makefile +++ b/utils/ccrypt/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ccrypt PKG_VERSION:=1.11 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/ccrypt @@ -32,6 +32,8 @@ endef CONFIGURE_ARGS += --disable-emacs +EXTRA_CFLAGS += -std=c17 + define Package/ccrypt/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/